Statistical Physics And Cosmology